﻿using System.Linq;
using TavDom.Library.Entities.ComplexTypes;
using TavDom.Library.Entities.Concrete;

namespace TavDom.Library.Business.Interfaces
{
    public interface IContentTypeService
    {
        IQueryable<ContentType> GetAll();
        IQueryable<ContentType> GetAllWithUsers();
        ContentType Add(ContentType entity);
        ContentType Get(ContentType entity);
        ContentType GetById(int id);
        ContentType Update(ContentType entity);
        void Delete(ContentType entity);
        IQueryable<ContentType> Search(SearchEntity<ContentType> entity);
    }
}
